<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="UTF-8">
<head>
    <meta charset="UTF-8">
    <title> XXX送水公司后台管理系统</title>

    <!--Bootstrap固定框架-->
    <link rel='stylesheet' th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap.css}">
    <link rel='stylesheet' th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap-theme.css}">
    <!--图标库-->
    <link rel='stylesheet' th:href='@{/css/material-design-iconic-font.min.css}'>
    <!--核心样式-->
    <link rel="stylesheet" th:href="@{/css/style.css}">

</head>
<body>

<div id="viewport" >

    <!-- Sidebar -->
    <div id="sidebar" th:replace="waterMainMenu::sidebar">
        <header>
            <a href="#">公司后台管理</a>
        </header>
        <ul class="nav">
            <li>
                <a >
                    <i class="zmdi zmdi-view-dashboard"></i> 客户管理
                </a>
            </li>
            <li>
                <a>
                    <i class="zmdi zmdi-link"></i> 送水工管理
                </a>
            </li>
            <li>
                <a>
                    <i class="zmdi zmdi-widgets"></i> 送水历史管理
                </a>

        </ul>
    </div>

    <!-- Content -->
    <div id="content" >
        <nav class="navbar navbar-default" th:replace="waterMainMenu::navbar">
            <div class="container-fluid" >
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="#"><i class="zmdi zmdi-notifications text-danger"></i>
                        </a>
                    </li>
                    <li><a href="#">测试用户123</a></li>
                </ul>
            </div>
        </nav>
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-4">

                </div>

                <div class="col-md-8">

                </div>


                <div class="col-md-12">
                    <!--
                    做用户添加管理
                    -->
                    <form class="form-horizontal" th:action="@{/worker/addWorker}">

                        <div class="form-group">
                            <label class="col-sm-2 control-label">工人编号</label>
                            <div class="col-sm-10">
                                <input class="form-control" type="text" placeholder="编号将会自动生成" name="wid" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label">工人名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="工人名称" name="workerName">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">工人底薪</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="工人底薪" name="workerSalary">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">工人提成</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="工人提成" name="workerMoney">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">图片地址</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="图片地址" name="workerImage">
                            </div>
                        </div>


                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-default">录入</button>
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>